package com.zhangbaiyan.test02;

/**
 * @author zhangbaiyan
 * @date 2024-09-23 10:52
 * @description:出让
 * @version:
 */
public class MyThread extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(getName()+"@"+i);
            Thread.yield();
        }
    }
}
